package OOP.polymorphic.rewrite;

public class RewriteDemo {
    public static void main(String[] args) {
        Animal cat = new Cat();
        Animal dog = new Dog();
        cat.bark();
        dog.bark();
    }
}
